function R = covinv(mdl)
%COVINV Gets the inverse of covariance matrix
%
% [ Syntax ]
%   - R = covinv(mdl)
%
% [ History ]
%   - Created by Dahua Lin, on Dec 25, 2007
%

R = diag((1/mdl.sigma) * ones(getdim(mdl), 1));